package com.ltt.service.impl;

import com.ltt.dao.pojo.Season;
import com.ltt.dao.pojo.Solar;
import com.ltt.mapper.SeasonMapper;
import com.ltt.service.SeasonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ‘李天泰’
 * @version 1.0
 * @description: TODO
 * @date 2023/5/4 8:46
 */
@Service
public class SeasonServiceImpl implements SeasonService {
    @Autowired
    private SeasonMapper seasonMapper;

    @Override
    public List<Season> findAllSeason() {
        return seasonMapper.findAllSeason();
    }

    @Override
    public List<Solar> findSolarByName(String name) {
        return seasonMapper.findSolarByName(name);
    }
}
